import request from '@/config/axios'

export interface WeatherFetcherVO {
  description: any // 天气
  temp: any // 气温

}

export const IndexApi = {
  getWeatherFetcher: async () => {
    return await request.get({ url: `/wms/index/getWeatherFetcher` })
  },
  getStock: async () => {
    return await request.get({ url: `/wms/index/getStock` })
  },
  getOrder: async () => {
    return await request.get({ url: `/wms/index/getOrder` })
  },
  getMonth: async () => {
    return await request.get({ url: `/wms/index/getMonth` })
  },
  getLineOrderAll: async () => {
    return await request.get({ url: `/wms/index/getLineOrderAll` })
  },
  getLineOrderSuccess: async () => {
    return await request.get({ url: `/wms/index/getLineOrderSuccess` })
  },
  getOrderByUser: async () => {
    return await request.get({ url: `/wms/index/getOrderByUser` })
  },
  getOrderAllByUser: async () => {
    return await request.get({ url: `/wms/index/getOrderAllByUser` })
  },
}
